package com.codedancer.campus.manager.service.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 失物招领导出excel
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class LostFoundItemExcel {

    @Excel(name = "物品名称", width = 50, height = 20)
    private String name;

    @Excel(name = "物品分类", width = 30)
    private String categoryName;

    @Excel(name = "描述", width = 150)
    private String description;

    @Excel(name = "发布类型", width = 30)
    private String publishTypeName;

    @Excel(name = "丢失或拾取地点", width = 30)
    private String location;

    @Excel(name = "发布人", width = 30)
    private String publishNickName;

    @Excel(name = "发布学校", width = 30)
    private String publishSchoolName;

    @Excel(name = "浏览次数", width = 20)
    private Integer viewNumber;

    @Excel(name = "状态", width = 20)
    private String status;

    @Excel(name = "是否同步自由广场", width = 20, replace = {"同步_true", "未同步_false"})
    private Boolean isSyncLibertySquare;

    @Excel(name = "发布时间", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
